package com.pattern.claims.status;


import com.pattern.claims.base.BaseAbstractLink;
import com.pattern.claims.base.ClaimsEnum;

/**
 *
 * Created by 峥桂 on 2017/6/9
 */
public class FirstAuditLink  extends BaseAbstractLink {

    //认领环节 认领理赔申请状态的 设置为初审中
    public void taskClaim(){
        if(checkCurrentStatus(ClaimsEnum.Apply_Status.getKey())){
            System.out.println("认领==设置为初审中");
        }

    }

    //理赔处理环节
    public void taskHandler(){
        //设置问题件
        if(checkCurrentStatus(ClaimsEnum.FirstAudit.getKey())) {

        }

    }

    public void taskProblem(){
        //如果是问题件则设置问题件
       if(checkCurrentStatus(ClaimsEnum.FirstAudit_Question.getKey())){
           System.out.println("初审-处理问题件");
        }
    }

    //理赔处理完毕环节
    public void taskFinished(){
        //设置为初审完毕
        if(checkCurrentStatus(ClaimsEnum.FirstAudit_Finished.getKey())){
            System.out.println("初审完毕待录入认领");
        }

    }
}
